package com.shiyue.cqe.component.model;

import java.io.Serializable;

@SuppressWarnings("serial")
public class ColumnComponent implements Serializable {
	private String name;
	private String type;
	private boolean notNull;
	private String description;//注释
	private int length;//字段长度
	private boolean primary;//是否是主键
	private String defalutValue;
	
	public String getDefalutValue() {
		return defalutValue;
	}
	public void setDefalutValue(String defalutValue) {
		this.defalutValue = defalutValue;
	}
	public boolean isPrimary() {
		return primary;
	}
	public void setPrimary(boolean primary) {
		this.primary = primary;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public boolean isNotNull() {
		return notNull;
	}
	public void setNotNull(boolean notNull) {
		this.notNull = notNull;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
